package hotel.dao;

import org.nutz.dao.entity.annotation.*;

@Table("user")
public class UserDao {
	@Name
	private String userName;	// 登录用户名
	@Column
	private String password;	// 登录密码
	@Column
	private int employeeId;		// 员工编号
	@Column
	private boolean admin;		// 是否管理员
	
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getEmployeeId() {
		return employeeId;
	}
	public void setEmployeeId(int employeeId) {
		this.employeeId = employeeId;
	}
	public boolean getAdmin() {
		return admin;
	}
	public void setAdmin(boolean admin) {
		this.admin = admin;
	}
}
